conditional loop

conditional loop
условный [программный] цикл
повторяется до тех пор, пока результат соответствующего теста (проверки условия) не станет истинным. В разных языках реализуются два основных варианта синтаксиса условных циклов: когда проверка условия производится в начале цикла (WHILE y = 0 DO x) или в конце цикла (REPEAT x UNTIL y = 0). Во втором случае х может выполняться на один раз больше, чем в первом, поэтому многие языки предусматривают оба варианта условного цикла, а некоторые (например, Visual Basic) предлагают одну гибкую конструкцию (DO...LOOP), где проверка UNTIL или WHILE может помещаться в начале либо в конце
см. тж. exit condition, loop

Англо-русский толковый словарь терминов и сокращений по ВТ, Интернету и программированию. . 1998-2007.

Игры ⚽ Нужна курсовая?

Смотреть что такое "conditional loop" в других словарях:

  • Conditional Loop —   [engl.], bedingte Schleife …   Universal-Lexikon

  • Conditional loop — In computer programming, conditional loops or repetitive control structures are a way for computer programs to repeat one or more various steps depending on conditions set either by the programmer initially or real time by the actual program. A… …   Wikipedia

  • Loop optimization — In compiler theory, loop optimization plays an important role in improving cache performance, making effective use of parallel processing capabilities, and reducing overheads associated with executing loops. Most execution time of a scientific… …   Wikipedia

  • Loop unswitching — is a compiler optimization. It moves a conditional inside a loop outside of it by duplicating the loop s body, and placing a version of it inside each of the if and else clauses of the conditional. This can improve the parallelization of the loop …   Wikipedia

  • Loop unwinding — Loop unwinding, also known as loop unrolling, is a loop transformation technique that attempts optimize a program s execution speed at the expense of its size.The goal of loop unwinding is to increase the programs speed by reducing (or… …   Wikipedia

  • Loop-switch sequence — A loop switch sequence is a specific derivative of the spaghetti code programming antipattern where a clear set of steps is implemented as a byzantine switch within a loop. Also known as The FOR CASE paradigm… …   Wikipedia

  • For loop — In computer science a for loop is a programming language statement which allows code to be repeatedly executed. A for loop is classified as an iteration statement.Unlike many other kinds of loops, such as the while loop, the for loop is often… …   Wikipedia

  • Control flow — Not to be confused with Flow control. In computer science, control flow (or alternatively, flow of control) refers to the order in which the individual statements, instructions, or function calls of an imperative or a declarative program are… …   Wikipedia

  • Simons' BASIC — This product is widely, but incorrectly, called Simon s BASIC , because of confusion between the first name Simon and the surname Simons .Simons BASIC was an extension to BASIC 2.0 for the Commodore 64 home computer. Written by 16 year old… …   Wikipedia

  • MTropolis — was a multimedia authoring tool debuting in 1995. mTropolis was bought in 1997 by Quark, which moved development from Burlingame, California to Denver and then cancelled the product one year later. [… …   Wikipedia

  • Compiler optimization — is the process of tuning the output of a compiler to minimize or maximize some attributes of an executable computer program. The most common requirement is to minimize the time taken to execute a program; a less common one is to minimize the… …   Wikipedia

Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»